package com.example.myapplication.api;


import com.example.myapplication.app.App;

import java.io.File;

/**
 * Created by yin97 on 2017/4/13.
 */

public class Constants {
    public static final String PATH_DATA = App.getInstance().getCacheDir().getAbsolutePath() + File.separator + "data";
    /**
     * 最大允许请求时间
     */
    public static final int MAX_REQUEST_TIME = 2000;

    /**
     * DiskCache
     */
    public static final long CACHE_MAXSIZE = 10 * 1024 * 1024;

    //SecretUtil
    public static String NOSUCHALGORITHM = "不支持此种加密方式";
    public static String UNSUPPENCODING = "不支持的编码格式";
}
